package com.prs.crm.service.oa;

import java.io.File;
import java.util.Collection;
import java.util.Date;
import java.util.List;

import com.prs.crm.domain.hr.Person;
import com.prs.crm.domain.oa.OaTask;
import com.prs.crm.service.BaseService;

public interface OaTaskService extends BaseService<OaTask>{
	public void saveTask(OaTask task,File file,String fileName,String principals,String copyToPersons);
	Collection<Object[]> getTaskReportDataSouce(String state, Date datestart, Date dateend, Collection<Person> persons);
	Collection<OaTask> getChildTask(OaTask oaTask);	
	Collection<OaTask> getChildTask(OaTask oaTask,Person person);
	Collection<OaTask> getValidCritiqueOaTask(Person person);
	Collection<OaTask> getOverdueOaTask(Person person);
	public List<OaTask> getAllTask();
}
